#ifndef EGG_REFLECTSTAGE_H
#define EGG_REFLECTSTAGE_H

#include "GeometryLib.h"
#include "ShaderLib.h"
#include "FrameBuffer.h"
#include "FrameEvent.h"
#include "StateCache.h"

namespace egg{

    class ReflectStage{
    public:
        ReflectStage();
        void doRender(const FrameEvent& evt,TexturePtr sphereMap);
    protected:
        ShaderPtr mShader;
        GeometryPtr mQuad;
        TextureParamPtr mSphereMap;
        ShaderParamMap mParamMap;
    };

}

#endif